import { ElFormItem } from 'element-plus'
export type itemTypeStr =
  | 'number'
  | 'cascader'
  | 'switch'
  | 'time-picker'
  | 'time-select'
  | 'checkbox'
  | 'radio-group'
  | 'rate'
  | 'date-picker'
  | 'select'
export type optionsList = Array<{
  label: string
  value: string
}>
export interface demoFormItem {
  isSlot?: boolean
  itemType?: itemTypeStr
  type?: string
  model: string
  optionsList?: optionsList
}
export type FormItemType = InstanceType<typeof ElFormItem>['$props'] & demoFormItem
